Find the equation of the tangent to y=2-xe^x at the point where x=0

So I found the first derivative by doing the sum rule and product rule.
I got e^(x)(x-1)

Then I found the slope by substituting 0 for x and got -1.

Then I found y by substituting 0 into the original equation and got 2.

So for my final equation after finding b I had y=-1x+2

But in the back of the book the answer says x+y-2=0.

1 answer

You can simplify things right from the start by writing the equation for the tangent as:

Delta Y/DeltaX = y'

The derivative y' is to be evaluated at the point where you take the tangent, Delta Y and Delta x are the differences in the y and x coordinate relative to the values they take at the point where the tangent touches the graph of the function.
Similar Questions
    1. answers icon 1 answer
  1. The graph of the equation is x^2+xy+y^2=9a) What is the equation of the right most vertical tangent? b) That tangent touches the
    1. answers icon 2 answers
  2. find f'(x)find the slope of the graph of f a x=2 and x=4 find the equations of the tangent lines at x=2 and x=4 and find the
    1. answers icon 2 answers
    1. answers icon 0 answers
more similar questions