Skip to content

A student is trying to differentiate the function

f(x)=ex

Here is their working:

According to the rule

f(x)=xn⇒f′(x)=nxn−1

we have

f(x)=ex⇒f′(x)=xex−1

Explain the student's mistake.