Find the equation of tangent at x=0 on the curve y=xex
y-x = 0
To find the equation of the tangent at a given point, we need to know the slope of the tangent. If we know the slope, then we can use the given point (x1,y1)and write the equation of the tangent.
It will be of the form
y−y1=f′(x1)(x−x1)
We have to find the tangent at the point where the x coordinate is zero. We will first find the y coordinate at this point before we find the slope.
Substituting x=0 in xex , we get y=0
⇒(x1,y1)=(0,0)
f′(x)=xex+ex
⇒f′(0)=1
⇒ Equation of tangent is y−0=1(x−0)
⇒y=x