Complementary Error Function

The complementary error function, erfc(x), is 1 minus the error function and appears in transient diffusion solutions in Heat and Mass Transfer. It gives the temperature or concentration profile in a semi-infinite medium after a sudden boundary change.

Last updated July 2026

What is the Complementary Error Function?

The complementary error function, written as erfc(x), is the version of the error function used when a transient diffusion solution needs the part of the curve that remains outside a given range. In Heat and Mass Transfer, you usually meet it in unsteady conduction or mass diffusion problems where the boundary changes suddenly, then the medium responds over time.

In practice, erfc shows up in the classic semi-infinite solid solution. If one side of a wall, slab, or fluid region is suddenly set to a new temperature or concentration, the response does not jump everywhere at once. Instead, the effect starts at the boundary and spreads inward. The erfc form describes that spreading profile at different positions and times.

The function is tied to the Gaussian, or normal, curve. That is why it appears in diffusion, since diffusion mathematically produces the same kind of spreading shape. When you see erfc, you are usually looking at a solution that says, “how far has the thermal or concentration disturbance penetrated?” The variable inside the function is often a combination of position and time, such as x divided by 2 square root of alpha t for heat conduction, where alpha is thermal diffusivity.

A useful way to read erfc is to remember its behavior at the extremes. Near zero, erfc is close to 1, which matches a point right at the disturbed boundary. As the argument gets large, erfc drops toward 0, which matches points far away from the boundary where the medium has not felt much change yet. That makes it a clean fit for transient profiles that fade with distance.

This is why erfc is not just a math function sitting on the page. In heat transfer, it describes temperature versus distance and time after a sudden surface temperature change. In mass transfer, it describes concentration versus distance and time after a sudden change in surface concentration. The same function can show up in both topics because heat diffusion and mass diffusion share the same mathematical structure.

Why the Complementary Error Function matters in Heat and Mass Transfer

Complementary error function solutions let you skip solving the full differential equation from scratch every time a transient diffusion problem appears. Instead, you can plug into a standard form and interpret how quickly heat or species moves through a medium.

That matters in Heat and Mass Transfer because many real systems are not steady. A hot surface cools, a cold wall warms, dye spreads in still water, or solute diffuses into a solid. These are all time-dependent processes, and erfc is one of the cleanest ways to describe the profile at any point.

It also helps you connect the math to the physics. If the argument inside erfc is small, the location is close to the boundary or the time is short, so the response is still strong. If the argument is large, the disturbance has barely reached that point. That relationship makes it easier to reason through plots, tables, and problem solutions instead of treating the formula like a black box.

In assignments, erfc often appears when you are asked for a temperature or concentration at a given depth and time, or when you need to interpret how a diffusion front changes with time. It is a shortcut to the shape of the solution, and it tells you whether a boundary condition is still influencing the interior or not.

Keep studying Heat and Mass Transfer Unit 8

How the Complementary Error Function connects across the course

Error Function

erfc is directly built from the error function, since erfc(x) = 1 - erf(x). In transient diffusion, the two usually appear as alternate ways to write the same solution. If a problem gives you one form, you may need to recognize the other so you can interpret the profile correctly or compare it to a table or chart.

Diffusion Equation

The diffusion equation is the differential equation that produces erfc solutions in many semi-infinite, transient problems. When you solve the equation with a sudden surface condition, the math naturally leads to the complementary error function. So erfc is not random notation, it is the closed-form answer to a specific diffusion setup.

Fourier Number

The Fourier Number measures how far diffusion has progressed relative to the size of the system. In many erfc solutions, time and distance show up in a grouped variable that behaves like a diffusion time scale, which makes the Fourier Number a useful way to judge whether the profile is shallow or deeply penetrated.

Dirichlet Boundary Condition

A Dirichlet boundary condition fixes the temperature or concentration at the boundary, which is exactly the type of setup that often leads to an erfc solution. If the surface value suddenly changes and stays fixed, erfc describes how the interior responds over time. That is why these two ideas usually show up together.

Is the Complementary Error Function on the Heat and Mass Transfer exam?

A problem set or quiz will usually give you a sudden surface temperature or concentration and ask for the profile at some depth and time. Your job is to identify the transient diffusion setup, choose the erfc form, and plug in the position and time correctly. The common mistake is mixing up erf and erfc or putting the distance and time into the argument backward.

You may also be asked to read a graph and say what happens near the boundary versus far away. A point close to the surface should still show a strong response, while a deep point should stay near the initial condition for a while. On written work, you should explain the meaning of the result, not just write the final number. That usually means stating whether heat or mass has penetrated a little, a lot, or not much yet.

Key things to remember about the Complementary Error Function

  • Complementary error function, erfc, is the form used in transient diffusion solutions when you want the part of the Gaussian spread that remains outside a range.

  • In Heat and Mass Transfer, erfc usually appears in semi-infinite conduction or diffusion problems with a sudden boundary change.

  • The function drops from about 1 near the disturbed boundary to near 0 far away from it, which matches how diffusion weakens with distance.

  • If you see a variable like x divided by square root of time inside erfc, it is telling you that distance and time are linked through diffusion.

  • The biggest mistake is using the wrong error function form or putting the boundary condition into the argument incorrectly.

Frequently asked questions about the Complementary Error Function

What is Complementary Error Function in Heat and Mass Transfer?

It is a mathematical function, erfc(x) = 1 - erf(x), that appears in transient diffusion solutions for heat and mass transfer. You use it to describe how temperature or concentration changes with position and time after a sudden boundary change.

Why does erfc show up in transient diffusion problems?

Diffusion spreads a disturbance in the same shape as a Gaussian curve, and erfc is the part of that curve that fits a semi-infinite boundary-value solution. When a surface temperature or concentration changes suddenly, erfc gives the profile inside the material.

How do you interpret a small or large erfc value?

A value near 1 means the point is close to the boundary effect, so the disturbance has strongly reached that location. A value near 0 means the point is far away or the time is still too short for much diffusion to occur there.

Is complementary error function the same as error function?

No, but they are directly related. erfc(x) equals 1 minus erf(x), so they describe complementary parts of the same diffusion-shaped curve. In problem solving, you may see either form depending on how the solution was written or tabulated.