Question
Question: How do you find the equation of the tangent line to the graph \[y = {x^2}{e^x} - 2x{e^x} + 2{e^x}\] ...
How do you find the equation of the tangent line to the graph y=x2ex−2xex+2ex through the point (1,e)?
Solution
Hint : Here in this question, we have to find the equation of the tangent line, given the x and y value, then find the slope of the equation i.e., m=dxdy at the point (x,y), then find the equation of tangent line by using the equation y−y0=m(x−x0) where (x0,y0) is the point where tangent line passes through.
Complete step-by-step answer :
The tangent line to a curve at a given point is a straight line that just "touches" the curve at that point.
Consider the given equation which passes through the point (1,e)
y=x2ex−2xex+2ex------(1)
Now, find the slope of the equation at the point of tangency (1,e) using the first order derivative of given equation i.e., m=dxdy
⇒dxdy=x2ex+2xex−2(xex+ex)+2ex
⇒dxdy=x2ex+2xex−2xex−2ex+2ex
On simplification, we get
⇒m=dxdy=x2ex
The slope of the equation at the point (1,e) is:
⇒(dxdy)(1,e)=12e1
On simplification, we get
⇒(dxdy)(1,e)=e
The equation of slope of the tangent line is:
y−y0=m(x−x0)
the slope of the tangent line at the point (1,e) is:
where x0=1, y0=e and m=e, then
⇒y−e=e(x−1)
⇒y−e=ex−e
Add both side by e, then
⇒y−e+e=ex−e+e
On simplification, we get
⇒y=ex
Hence, the equation of the tangent line to the graph y=x2ex−2xex+2ex through the point (1,e) is y=ex.
Note : The concept of the equation of tangent comes under the concept of application of derivatives. Here the differentiation is applied on the equation of line or curve and then substitute the value of x. We should know about the general equation of a line. Hence these types of problems are solved by the above procedure.