# Homework Help: Calc 1 Differential Question

Tags:
1. Jun 9, 2015

### JCatt

Got a bit of a long and nutty question here.

So I got a nutty question from my Calc 1 class and was wondering if anyone could help me out

A section of road, represented by the line y = x + 4 when x ≤0, is to be smoothly connected to another section of road, represented by y = 4 –x when x ≥4, by means of a curved section of road, represented by a cubic curve y = ax3+ bx2+ cx + d. Find a, b, c and d suchthat the function f(x) is everywhere differentiable (and therefore everywhere continuous), where

{x + 4 when x ≤0

{ ax3+ bx2+ cx + d when 0 < x < 4

{ 4 –x when x ≥4

I honestly dont know where to actually start. I know I have to find a, b, c and d at x = 0 and x = 4. Which would mean that d = 0 but from there I'm truthfully stuck.

Any help would be greatly appreciated.

Last edited by a moderator: Jun 9, 2015
2. Jun 9, 2015

### Staff: Mentor

Welcome to the PF.

Start by making a sketch of the outer two pieces. And as you say, the middle section has to join up with those two connection points. But that only gives you two equations to solve for 4 variables, so you need to figure out what else to use to help you out. One thing is the clue that the function has to be differentiable with respect to x everywhere... That may help you out.

3. Jun 9, 2015

### Staff: Mentor

And actually to be a little clearer about my last hint, the function has to be smooth, with no sharp changes of direction...

4. Jun 9, 2015

### JCatt

Thanks for the hint, sadly I still couldn't get much outta it. I've already made the graph and know how what shape the polynomial needs to be, but I dont know how to find a b c and d

5. Jun 9, 2015

### Staff: Mentor

I thought I was practically giving the answer away...

You need to solve for 4 constants, right? So you need 4 equations to do that. Joining up the end points gives you 2 of those equations, right? And smoothing the 2 connections gives you the other 2 equations. Now have at it!

6. Jun 10, 2015

### SammyS

Staff Emeritus