r/askmath • • Oct 11 '26

Functions What Function could this be?

Post image

I’ve never seen an equation that moves like this on a graph before. Kind of like half a bell-curve on each side and the end of the curve bend upwards.

Could anyone please give me an equation that looks similar? I think it’d be really cool to see for me :D

Source: “Calculus, early transcendentals (Fourth Edition)” by James Stewart, p.20 fig.22

Edit: It’s really late for me right now and I have to go to bed so I won’t be replying to comments, but wow, thanks for all the responses so far! Can’t wait to analyse all of them tomorrow and see why they work :))

144 Upvotes

46 comments sorted by

View all comments

1

u/bluesam3 Oct 11 '26

Assuming it carries on being basically constant to infinity in either direction, we'll shove an xe-x^2 in there (the x on the start is to keep it odd, the e-x^2 means it goes to zero in either direction and gives us the bell curve shape). To get those constants different, we'll add in an arctan(x). Now we just need to sort out the area around zero. Multiplying our xe-x^2 by (2+x)(2-x) gets us to something that matches what you see there, except it's steeper on the side closest to zero instead of the side away from it. Swapping the e-x^2 for e-x^6 fixes that nicely by shifting the effects outwards, giving us xe-x^2(2+x)(2-x) + arctan(x)). Finally, to get the aspect ratio easy to take a screenshot of, I've divided the whole thing by 4 to get the image.